<!-- 侧边导航栏 -->
<div class="left-sidebar">
  <!-- 用户信息 -->
  <div class="tpl-sidebar-user-panel">
    <div class="tpl-user-panel-slide-toggleable">
      <div class="tpl-user-panel-profile-picture">
        <img src="{$_SESSION['adminUser']['thumb']}" width="82" height="82" alt="{$_SESSION['adminUser']['username']}">
      </div>
                    <span class="user-panel-logged-in-text">
              <i class="am-icon-circle-o am-text-success tpl-user-panel-status-icon"></i>
                      {$_SESSION['adminUser']['username']}
          </span>
      <a href="admin.php?c=admin&a=edit&id={$_SESSION['adminUser']['id']}" class="tpl-user-panel-action-link"> <span class="am-icon-pencil"></span> 账号设置</a>
    </div>
  </div>

  <!-- 菜单 -->
  <ul class="sidebar-nav">
    <li class="sidebar-nav-link">
      <a href="admin.php" <if condition="CONTROLLER_NAME eq Index"> class="active"</if>>
      <i class="am-icon-home sidebar-nav-link-logo"></i> 首页
      </a>
    </li>
    <li class="sidebar-nav-link">
      <a href="admin.php?c=category" <if condition="CONTROLLER_NAME eq Category"> class="active"</if>>
      <i class="am-icon-tags sidebar-nav-link-logo"></i> 分类管理
      </a>
    </li>
    <li class="sidebar-nav-link">
      <a href="admin.php?c=product" <if condition="CONTROLLER_NAME eq Product"> class="active"</if>>
      <i class="am-icon-inbox sidebar-nav-link-logo"></i> 产品管理
      </a>
    </li>
    <li class="sidebar-nav-link">
      <a href="admin.php?c=admin" <if condition="CONTROLLER_NAME eq Admin"> class="active"</if>>
        <i class="am-icon-user sidebar-nav-link-logo"></i> 用户管理
      </a>
    </li>
    <li class="sidebar-nav-link">
      <a href="admin.php?c=Message" <if condition="CONTROLLER_NAME eq Message"> class="active"</if>>
        <i class="am-icon-info sidebar-nav-link-logo"></i> 留言管理
      </a>
    </li>
    <li class="sidebar-nav-link">
      <a href="admin.php?c=about" <if condition="CONTROLLER_NAME eq About"> class="active"</if>>
      <i class="am-icon-info sidebar-nav-link-logo"></i> 关于我们
      </a>
    </li>
    <li class="sidebar-nav-link">
      <a href="admin.php?c=setting" <if condition="CONTROLLER_NAME eq Setting"> class="active"</if>>
      <i class="am-icon-gear sidebar-nav-link-logo"></i> 网站设置
      </a>
    </li>
  </ul>
</div>